﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Microsoft.Xna.Framework.Media;

namespace Pyramid_Game
{
    public class RouteStage01 : RouteFind
    {
        public RouteStage01()
        {

        }

        public override void LoadContent(ContentManager content)
        {
            base.LoadContent(content);

            Initialize();
        }

        public void Initialize()
        {
            space[0, 0] = new Space(routeTexture, new Vector2(0, 0), true);

            for (int i = 0; i < height; i++)
            {
                for (int j = 0; j < width; j++)
                {
                    space[i, j] = new Space(routeTexture, new Vector2(j * size, i * size), true);
                }
            }

            space[2, 5] = new Space(notRouteTexture, new Vector2(5 * size, 2 * size), false);

            AddPossibleRoute();
        }
    }
}
